package com.wry.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wry.entity.Goods;
import com.wry.mapper.GoodsMapper;
import com.wry.service.GoodsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService {

    @Resource
    private GoodsMapper goodsMapper;

    public List<Goods> selectList(){
        return goodsMapper.selectList();
    }
}
